Constructs an instance of
Generic ReadOnlyKeyedCollection.
Namespace:
Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly:
Microsoft.ComponentStudio.ComponentPlatformInterface (in
microsoft.componentstudio.componentplatforminterface.dll)
Usage
Visual Basic |
Public Class SomeType1
End Class
Public Class SomeType2
End Class
Dim writableCollection As KeyedCollection
Dim readOnlyKeyedCollection1 As New ReadOnlyKeyedCollection(Of SomeType1, SomeType2)(writableCollection)
|
Syntax
Visual Basic |
Public Sub New( _
ByVal writableCollection As KeyedCollection(Of TKey, TValue) _
)
|
C# |
public ReadOnlyKeyedCollection(
KeyedCollection<TKey, TValue> writableCollection
);
|
C++ |
public:
ReadOnlyKeyedCollection(
KeyedCollection<TKey, TValue>^ writableCollection
);
|
J# |
public ReadOnlyKeyedCollection(
KeyedCollection<TKey, TValue> writableCollection
);
|
JScript |
JScript does not support Generics.
|
Parameters
- writableCollection
-
Original
Generic ReadOnlyKeyedCollection to be adapted.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server
2003, Windows Vista, and Windows 2000
Target Platforms
See Also